home *** CD-ROM | disk | FTP | other *** search
/ Aminet 45 / Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso / Aminet / game / role / ldmud-3.2-bin.lha / mud / doc / efun / walk_mapping < prev    next >
Text File  |  2001-04-06  |  773b  |  23 lines

  1. SYNOPSIS
  2.         void walk_mapping(mapping m, string func, string|object ob
  3.                                                 , mixed extra,...)
  4.         void walk_mapping(mapping m, closure cl, mixed extra,...)
  5.  
  6. DESCRIPTION
  7.         Calls ob->func(key, value1, ..., valueN, extra,...) resp. applies
  8.         the closure to every entry in the mapping. The keys are passed
  9.         by value, the values are passed by reference and can be
  10.         changed in the function.
  11.  
  12.         Any number of extra arguments is accepted and passed. These arguments
  13.         must not be protected references like &(i[]).
  14.  
  15.         If <ob> is omitted, or neither a string nor an object, it
  16.         defaults to this_object().
  17.  
  18. HISTORY
  19.         Introduced in 3.2@61
  20.  
  21. SEE ALSO
  22.         map(E), filter(E)
  23.